home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / exptintf.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.4 KB  |  71 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'Exptintf.pas' rev: 3.00
  6.  
  7. #ifndef ExptintfHPP
  8. #define ExptintfHPP
  9. #include <ToolIntf.hpp>
  10. #include <VirtIntf.hpp>
  11. #include <Windows.hpp>
  12. #include <SysInit.hpp>
  13. #include <System.hpp>
  14.  
  15. //-- user supplied -----------------------------------------------------------
  16.  
  17. namespace Exptintf
  18. {
  19. //-- type declarations -------------------------------------------------------
  20. enum TExpertStyle { esStandard, esForm, esProject, esAddIn };
  21.  
  22. enum Exptintf__1 { esEnabled, esChecked };
  23.  
  24. typedef Set<Exptintf__1, esEnabled, esChecked>  TExpertState;
  25.  
  26. class DELPHICLASS TIExpert;
  27. class PASCALIMPLEMENTATION TIExpert : public Virtintf::TInterface 
  28. {
  29.     typedef Virtintf::TInterface inherited;
  30.     
  31. public:
  32.     virtual System::AnsiString __stdcall GetName(void) = 0;
  33.     virtual System::AnsiString __stdcall GetAuthor(void) = 0;
  34.     virtual System::AnsiString __stdcall GetComment(void) = 0;
  35.     virtual System::AnsiString __stdcall GetPage(void) = 0;
  36.     virtual HICON __stdcall GetGlyph(void) = 0;
  37.     virtual TExpertStyle __stdcall GetStyle(void) = 0;
  38.     virtual TExpertState __stdcall GetState(void) = 0;
  39.     virtual System::AnsiString __stdcall GetIDString(void) = 0;
  40.     virtual System::AnsiString __stdcall GetMenuText(void) = 0;
  41.     virtual void __stdcall Execute(void) = 0;
  42. public:
  43.     /* TInterface.Create */ __fastcall TIExpert(void) : Virtintf::TInterface() { }
  44.     
  45. public:
  46.     /* TObject.Destroy */ __fastcall virtual ~TIExpert(void) { }
  47.     
  48. };
  49.  
  50. typedef bool __fastcall (*TExpertRegisterProc)(TIExpert* Expert);
  51.  
  52. typedef void __fastcall (*TExpertTerminateProc)(void);
  53.  
  54. typedef bool __stdcall (*TExpertInitProc)(Toolintf::TIToolServices* ToolServices, TExpertRegisterProc 
  55.     RegisterProc, TExpertTerminateProc &Terminate);
  56.  
  57. //-- var, const, procedure ---------------------------------------------------
  58. #define isExperts "Experts"
  59. #define ExpertEntryPoint "INITEXPERT0017"
  60. #define ValidExpertVersion (Byte)(3)
  61. extern PACKAGE TExpertRegisterProc LibraryExpertProc;
  62. extern PACKAGE Toolintf::TIToolServices* ToolServices;
  63. extern PACKAGE void __fastcall RegisterLibraryExpert(TIExpert* Expert);
  64.  
  65. }    /* namespace Exptintf */
  66. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  67. using namespace Exptintf;
  68. #endif
  69. //-- end unit ----------------------------------------------------------------
  70. #endif    // Exptintf
  71.